#include "ScopedLock.h"

SK

ScopedLock::ScopedLock (Lock *lock)
: l(lock)
{
	l->lock();
}


ScopedLock::~ScopedLock ()
{
	l->unlock();
}

EK